namespace Repositories.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class addDebit_Special : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.Debit", "SpecialId", c => c.Int(nullable: false));
            CreateIndex("dbo.Debit", "SpecialId");
            AddForeignKey("dbo.Debit", "SpecialId", "dbo.Special", "ID");
        }
        
        public override void Down()
        {
            DropForeignKey("dbo.Debit", "SpecialId", "dbo.Special");
            DropIndex("dbo.Debit", new[] { "SpecialId" });
            DropColumn("dbo.Debit", "SpecialId");
        }
    }
}
